#pragma once
#include "MObject.h"

class CBullet :
	public MObject
{
public:
	CBullet(void);
	CBullet(float x, float y, float vx, float vy, int deltaTime,int resourceName,CResourceManager *rm);
	void Move();
	void Render();
	void setVelocity(Vector v,shared_ptr<MObject> Object);
	void actAfterCollided(int Direction, shared_ptr<MObject> Object);
	void setStatus(int Status);

	~CBullet(void);

public:
	static const int STATUS_ALIVE = 0;
	static const int STATUS_DEAD = -1;
};
//mario can shoot when mario get more power.